﻿#define _CRT_SECURE_NO_WARNINGS
﻿void main()

{

    queue<char> Q;

    char x, y;

    x = 'n'; y = 'g';

    Q.push('n');
    Q.push('i'); 
    Q.push('g');


    Q.push('r'); 
    Q.push('t'); 
    Q.push('n');

    Q.push('s');

    while (!Q.empty())

    {

        x = Q.front();

        Q.pop();

        cout << 'x';

    };

    cout << y;

}

